home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-05-09 | 1.3 KB | 63 lines |
- DEFS = -DUNIX
- CFLAGS = $(DEFS)
- CC=cc
-
- # begin makedefs
- GCLDIR=/d11/wfs/newakcl
- SHELL=/bin/sh
- MACHINE=sun4
-
- LBINDIR=/usr/local/bin
- OFLAG = -O
- LIBS = -lm
-
- #include "sparc.h"
-
- # the commercial (for money) C compiler has never been able
- # to compile akcl/gcl correctly. Perhaps it does not like the idea
- # that this is free software. However the standard C compiler is ok.
-
- CC = cc -DVOL= -I$(GCLDIR)/o -Bstatic -temp=. -pipe
- CC = cc -DVOL= -I$(GCLDIR)/o -Bstatic -pipe
- ODIR_DEBUG=-O4
-
- #gcc 2.1 and 2.2 compile gcl correctly as far as I have been able to determine.
- #gcc 2.3.3 does not compile gcl correctly
- # gcc 2.5.7 is correct as far as I can tell
- #CC = gcc -I${GCLDIR}/o -static -DVOL=volatile -W
-
- AS=as -P
-
- CFLAGS = -c $(DEFS) -I../h
-
- MAIN = ../o/main.o
-
- MPFILES=$(MPDIR)/mpi-sparc.o $(MPDIR)/sparcdivul3.o $(MPDIR)/libmport.a
- #MPFILES=${MPDIR}/mpi.o ${MPDIR}/libmport.a
-
- RSYM = rsym
- SFASL = $(ODIR)/sfasl.o
-
- # This function will be run before dumping.
- # When using SFASL it is good to have (si::build-symbol-table)
- INITFORM=(si::build-symbol-table)
-
-
-
- # Use symbolic links
- SYMB=-s
- # the make to use for saved_kcp the profiler.
- KCP=kcp-sun
-
- NULLFILE = ../h/secondary_sun_magic
-
- # end makedefs
-
- all: dpp
-
- dpp: dpp.c
- ${CC} ${DEFS} -o dpp dpp.c
-
- clean:
- rm -f dpp core a.out *.o
-